package cn.edu.bjfu.practice.practice.student.service;

import cn.edu.bjfu.practice.practice.student.pojo.domain.Task;
import cn.edu.bjfu.practice.practice.student.pojo.query.AddTaskForm;
import cn.edu.bjfu.practice.practice.student.pojo.query.ChangeProForm;
import cn.edu.bjfu.practice.practice.student.pojo.query.ModifyTaskForm;
import cn.edu.bjfu.practice.practice.student.pojo.query.RemoveMemberForm;
import cn.edu.bjfu.practice.practice.student.pojo.vo.TaskDetailView;
import cn.edu.bjfu.practice.practice.student.pojo.vo.TaskView;
import cn.edu.bjfu.practice.practice.teacher.pojo.domain.Project;
import cn.edu.bjfu.practice.practice.teacher.pojo.vo.CaseView;
import cn.edu.bjfu.practice.practice.teacher.pojo.vo.ProjectTeamView;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ProjectService {

    public List<ProjectTeamView> selectTeam();

    public int joinTeam(Integer id, Integer user_id);

    public int removeMember(RemoveMemberForm form);

    public List<String> addTask(AddTaskForm form);

    public List<Task> getMyTask(Integer user_id);

    public List<TaskView> selectTask(Integer id);

    public void modifyTask(ModifyTaskForm form);

    public void deleteTask(Integer id);

    public List<Project> selectProByPro(Integer project_id);

    public void changeProject(ChangeProForm form);

    public TaskDetailView getTaskDetail(Integer task_id);


}
